Skip to content

docs(kubernetes-mcp-server): sync template standards updates#347

Merged
mberlofa merged 1 commit into
mainfrom
docs/kubernetes-mcp-server-template-standards-sync
Jul 6, 2026
Merged

docs(kubernetes-mcp-server): sync template standards updates#347
mberlofa merged 1 commit into
mainfrom
docs/kubernetes-mcp-server-template-standards-sync

Conversation

@mberlofa

@mberlofa mberlofa commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

Summary

  • sync Kubernetes MCP Server docs to chart defaults, including v0.0.63
  • document optional ingressClassName rendering, networkPolicy.enabled baseline DNS/HTTPS egress, configurable networkPolicy.dnsEgressPeers, and additive networkPolicy.extraEgress behavior
  • expose Kubernetes MCP Server in the playground registry with curated ingress, NetworkPolicy, DNS egress, and API egress controls

Validation

  • make site-sync-check CHART=kubernetes-mcp-server
  • npm run lint
  • npm run format:check
  • npm run build
  • make release-check REPO=site
  • make attribution-check REPO=site

Chart PR: helmforgedev/charts#669
Issue: helmforgedev/charts#633

Summary by CodeRabbit

  • New Features

    • Added playground support for the Kubernetes MCP Server chart.
    • Expanded chart settings with a new DNS egress section for network policy configuration.
  • Documentation

    • Updated Kubernetes MCP Server docs to reflect the latest image version.
    • Clarified persistence, scaling, and network policy behavior, including egress allowances and access mode requirements.

@coderabbitai

coderabbitai Bot commented Jul 3, 2026

Copy link
Copy Markdown

Review Change Stack

📝 Walkthrough

Walkthrough

Updates the kubernetes-mcp-server playground configuration and registry wiring, and refreshes its chart documentation for the new image tag and configuration details.

Changes

Kubernetes MCP Server updates

Layer / File(s) Summary
DNS egress playground fields
src/data/playground-configs.ts
Adds a DNS Egress subsection to the kubernetes-mcp-server playground config with namespace, pod label, and API egress port inputs under networkPolicy.enabled.
Playground sync registration
src/pages/playground.astro
Adds kubernetes-mcp-server to the playground sync mapping so it is eligible for the playground chart list.
Chart documentation updates
src/pages/docs/charts/kubernetes-mcp-server.mdx
Updates the documented image tag and revises the configuration reference for persistence and NetworkPolicy behavior.

Estimated code review effort: 2 (Simple) | ~10 minutes

Possibly related PRs

  • helmforgedev/site#322: Also changes src/pages/playground.astro by adding a chart slug to the playground config sync registry.
  • helmforgedev/site#330: Also extends src/pages/playground.astro with a new chart slug in siteSyncPlaygroundConfigs.
🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 inconclusive)

Check name Status Explanation Resolution
Title check ❓ Inconclusive The title is related to the PR, but 'template standards updates' is vague and doesn't clearly identify the main docs and playground changes. Rename it to something like 'docs(kubernetes-mcp-server): sync chart docs and playground config'.
✅ Passed checks (4 passed)
Check name Status Explanation
Description check ✅ Passed The description covers the summary, validation, and related issue, and the blog section is rightly omitted for this non-blog PR.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch docs/kubernetes-mcp-server-template-standards-sync

Comment @coderabbitai help to get the list of available commands.

@mberlofa mberlofa force-pushed the docs/kubernetes-mcp-server-template-standards-sync branch 2 times, most recently from 618fdfa to f5e8370 Compare July 4, 2026 12:46
mberlofa added a commit to helmforgedev/charts that referenced this pull request Jul 6, 2026
## Summary
- align kubernetes-mcp-server template standards: immutable selector
labels, guarded ingressClassName, centralized validate helper, and
numbered NOTES
- add NetworkPolicy egress isolation whenever
`networkPolicy.enabled=true`, with built-in DNS and HTTPS allowances
plus configurable `networkPolicy.dnsEgressPeers` defaulting to
kube-system/kube-dns
- keep `networkPolicy.extraEgress` additive for API server or proxy
rules, and sync values schema defaults plus unit coverage for selector
label overrides, existingClaim scaling, scoped DNS egress, and baseline
egress

## Validation
- helm template test charts/kubernetes-mcp-server --set
networkPolicy.enabled=true --set
'networkPolicy.extraEgress[0].ports[0].port=6443'
- helm unittest charts/kubernetes-mcp-server: 20 tests, 7 suites
- make template-standards-check CHART=kubernetes-mcp-server
- node scripts/charts/validate-chart.js --chart kubernetes-mcp-server
--no-k3d
- make validate-chart CHART=kubernetes-mcp-server TIMEOUT=900: FULLY
VALIDATED (16 layers)
- make site-sync-check CHART=kubernetes-mcp-server
- make release-check REPO=charts
- make attribution-check REPO=charts

Issue: #633
Site PR: helmforgedev/site#347

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

* **New Features**
* Added `networkPolicy.extraEgress` and `networkPolicy.dnsEgressPeers`
to extend/shape egress rules beyond built-in DNS/HTTPS allowances.
* **Bug Fixes**
* `ingress.ingressClassName` is now rendered only when explicitly set
(non-empty).
  * Aligned pod template labels with the Deployment selector labels.
* **Documentation**
* Updated chart README and Helm NOTES with expanded production safety,
exposure, and troubleshooting guidance; refreshed image tag to
`v0.0.63`.
* **Tests**
* Expanded validation, ingress, and network policy assertions (including
egress ordering and appended extra egress rules).

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

Co-authored-by: MergeCheck <mergecheck@example.invalid>
@mberlofa mberlofa force-pushed the docs/kubernetes-mcp-server-template-standards-sync branch from f5e8370 to bcf923f Compare July 6, 2026 13:25

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🧹 Nitpick comments (1)
src/data/playground-configs.ts (1)

8681-8708: 📐 Maintainability & Code Quality | 🔵 Trivial | 💤 Low value

Section title doesn't match the API Egress Port field.

The DNS Egress group bundles the unrelated API Egress Port (networkPolicy.extraEgress[0].ports[0].port, default 6443) field alongside the DNS namespace/pod selector fields. Since this port targets Kubernetes API access rather than DNS, consider renaming the section (e.g., "Network Egress") or splitting the API port field into its own group for clarity.

✏️ Optional rename
     {
-      name: 'DNS Egress',
+      name: 'Network Egress',
       collapsible: true,
       gateField: 'networkPolicy.enabled',
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@src/data/playground-configs.ts` around lines 8681 - 8708, The `DNS Egress`
group in `playground-configs.ts` mixes DNS selector fields with the unrelated
`API Egress Port` field, so update the section structure around the `fields`
array for that group. Either rename the group to something broader like “Network
Egress” or move `networkPolicy.extraEgress[0].ports[0].port` into its own
separate section, keeping the DNS-related fields under `DNS Egress` only.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Nitpick comments:
In `@src/data/playground-configs.ts`:
- Around line 8681-8708: The `DNS Egress` group in `playground-configs.ts` mixes
DNS selector fields with the unrelated `API Egress Port` field, so update the
section structure around the `fields` array for that group. Either rename the
group to something broader like “Network Egress” or move
`networkPolicy.extraEgress[0].ports[0].port` into its own separate section,
keeping the DNS-related fields under `DNS Egress` only.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 911fc5a5-4e28-4e7b-b013-7432b7be2dab

📥 Commits

Reviewing files that changed from the base of the PR and between f5e8370 and bcf923f.

📒 Files selected for processing (3)
  • src/data/playground-configs.ts
  • src/pages/docs/charts/kubernetes-mcp-server.mdx
  • src/pages/playground.astro
✅ Files skipped from review due to trivial changes (1)
  • src/pages/docs/charts/kubernetes-mcp-server.mdx
🚧 Files skipped from review as they are similar to previous changes (1)
  • src/pages/playground.astro

@mberlofa mberlofa merged commit bee0f55 into main Jul 6, 2026
6 checks passed
@mberlofa mberlofa deleted the docs/kubernetes-mcp-server-template-standards-sync branch July 6, 2026 13:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant